package com.hyst.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.Page;
import com.hyst.domain.Teacher;
import com.hyst.domain.TeacherStudent;

/**
 * @Description:外教表Service
 * @author：dy
 * @Date：2018年08月21日
 */

public interface TeacherService {

    /**
     * @return Page<Teacher>
     */
    Page<Teacher> list(Teacher teacher);

    /**
     * @return Teacher
     */
    Teacher insert(Teacher teacher);

    /**
     * @return Teacher
     */
    Teacher getByPriKey(String uniqueid);

    /**
     * @return Teacher
     */
    Teacher updateSelective(Teacher teacher);

    /**
     * @return Teacher
     */
    Teacher update(Teacher teacher);

    /**
     * @return Teacher
     */
    Teacher delete(String uniqueid);

    /**
     * @Description:
     * @param teacher
     * @return Teacher
     */
    Teacher state(Teacher teacher);

    List<Map> getSelect2Data();

    /**
     * @Description:
     * @param teacherId
     * @return Page<Teacher>
     */
    Page<TeacherStudent> getMyStudents(String teacherId);

    List<Map> getSelect3Data(String key);

}
